<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>课程信息 - 学生成绩管理系统</title>
    <link rel="stylesheet" href="view/assets/css/bootstrap.min.css">
    <script src="view/assets/js/html5shiv.min.js"></script>
    <script src="view/assets/js/respond.min.js"></script>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
</style>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" style="margin: auto;" href="admin.php">学生成绩查询系统</a>
            <a class="navbar-brand" style="margin: auto;" href="scoreinfo.php">成绩信息</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <form class="navbar-form navbar-right">
                <a type="button" class="btn btn-success" href="logout.php">退出</a>
            </form>
        </div>
    </div>
</nav>
<!--头部-->
<div class="jumbotron text-center">
    <div style="margin: 20px;">
        <p>学生成绩查询系统</p><p>总分设置</p>
    </div>
</div>

<!--主体部分-->
<div class="container text-center">
    <form action="" method="post">
        <div class="table-responsive">
            <table class="table table-bordered tab-hover">
                <thead>
                <tr>
                    <th>课程名字</th>
                    <th>平时成绩</th>
                    <th>期中成绩</th>
                    <th>实验成绩</th>
                    <th>期末成绩</th>
                    <th>操作</th>
                </tr>
                <tbody>
                <tr>
                    <td><?php echo $scoreparts['course_name'];?></td>
                    <td><input type="text" id="way1" name="way1" value="<?php echo $scoreparts['way1'];?>"></td>
                    <td><input type="text" id="way2" name="way2" value="<?php echo $scoreparts['way2'];?>"></td>
                    <td><input type="text" id="way3" name="way3" value="<?php echo $scoreparts['way3'];?>"></td>
                    <td><input type="text" id="way4" name="way4" value="<?php echo $scoreparts['way4'];?>"></td>
                    <td><button type="submit">提交</button></td>
                </tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
<!--页尾-->
<div class="jumbotron text-center" style="margin-bottom:0">
    <p>Copyright © 2020-2021 学生成绩查询系统</p>
</div>
<script src="view/assets/js/jquery.min.js"></script>
<script src="view/assets/js/bootstrap.min.js"></script>
</body>
</html>
